﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmallJob.Model
{
    public class Category
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public int ParentID { get; set; }
        public int OrderNumber { get; set; }
        public bool IsDeleted { get; set; }
        public int Status { get; set; }
        public string CreatedBy { get; set; }
        public int DisplayNumber { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime ModifiedDate { get; set; }

        public ICollection<Request> Requests { get; set; }
        public ICollection<Provide> Provides { get; set; }
        public Category Parent { get; set; }
        public ICollection<Category> Childrens { get; set; }

    }
}
